Calling

interface Calling

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun kcall_close()
Link copied to clipboard
abstract fun kcall_init(env: Int)
Link copied to clipboard
abstract fun kcall_preview_start()
Link copied to clipboard
abstract fun kcall_preview_stop()
Link copied to clipboard
abstract fun kcall_set_local_user(userid: String, clientid: String)
Link copied to clipboard
abstract fun kcall_set_user_vidstate(convid: String, userid: String, clientid: String, state: Int)
Link copied to clipboard
abstract fun kcall_set_wuser(inst: Handle)
Link copied to clipboard
abstract fun wcall_answer(inst: Handle, conversationId: String, callType: Int, cbrEnabled: Boolean)
Link copied to clipboard
abstract fun wcall_config_update(inst: Handle, error: Int, jsonString: String)
Link copied to clipboard
abstract fun wcall_create(userId: String, clientId: String, readyHandler: ReadyHandler, sendHandler: SendHandler, sftRequestHandler: SFTRequestHandler, incomingCallHandler: IncomingCallHandler, missedCallHandler: MissedCallHandler, answeredCallHandler: AnsweredCallHandler, establishedCallHandler: EstablishedCallHandler, closeCallHandler: CloseCallHandler, metricsHandler: MetricsHandler, callConfigRequestHandler: CallConfigRequestHandler, constantBitRateStateChangeHandler: ConstantBitRateStateChangeHandler, videoReceiveStateHandler: VideoReceiveStateHandler, arg: <Error class: unknown class>?): Handle
Link copied to clipboard
abstract fun wcall_end(inst: Handle, conversationId: String)
Link copied to clipboard
abstract fun wcall_init(env: Int): Int
Link copied to clipboard
abstract fun wcall_library_version(): String
Link copied to clipboard
abstract fun wcall_process_notifications(inst: Handle, isStarted: Boolean)
Link copied to clipboard
abstract fun wcall_recv_msg(inst: Handle, msg: ByteArray, len: Int, curr_time: Uint32_t, msg_time: Uint32_t, convId: String, userId: String, clientId: String, convType: Int): Int
Link copied to clipboard
abstract fun wcall_reject(inst: Handle, conversationId: String)
Link copied to clipboard
abstract fun wcall_request_video_streams(inst: Handle, conversationId: String, mode: Int, json: String)
Link copied to clipboard
abstract fun wcall_resp(inst: Handle, status: Int, reason: String, arg: <Error class: unknown class>?): Int
Link copied to clipboard
abstract fun wcall_run()
Link copied to clipboard
abstract fun wcall_set_active_speaker_handler(inst: Handle, activeSpeakersHandler: ActiveSpeakersHandler)
Link copied to clipboard
abstract fun wcall_set_clients_for_conv(inst: Handle, convId: String, clientsJson: String)
Link copied to clipboard
abstract fun wcall_set_epoch_info(inst: Handle, conversationId: String, epoch: Uint32_t, clientsJson: String, keyData: String): Int
Link copied to clipboard
abstract fun wcall_set_log_handler(logHandler: LogHandler, arg: <Error class: unknown class>?)
Link copied to clipboard
abstract fun wcall_set_mute(inst: Handle, muted: Int)
Link copied to clipboard
abstract fun wcall_set_mute_handler(inst: Handle, selfUserMuteHandler: SelfUserMuteHandler, arg: <Error class: unknown class>?)
Link copied to clipboard
abstract fun wcall_set_network_quality_handler(inst: Handle, wcall_network_quality_h: NetworkQualityChangedHandler, intervalInSeconds: Int, arg: <Error class: unknown class>?)
Link copied to clipboard
abstract fun wcall_set_participant_changed_handler(inst: Handle, wcall_participant_changed_h: ParticipantChangedHandler, arg: <Error class: unknown class>?)
Link copied to clipboard
abstract fun wcall_set_req_clients_handler(inst: Handle, wcall_req_clients_h: ClientsRequestHandler)
Link copied to clipboard
abstract fun wcall_set_req_new_epoch_handler(inst: Handle, requestNewEpochHandler: RequestNewEpochHandler)
Link copied to clipboard
abstract fun wcall_set_video_send_state(inst: Handle, conversationId: String, state: Int)
Link copied to clipboard
abstract fun wcall_setup()
Link copied to clipboard
abstract fun wcall_setup_ex(flags: Int)
Link copied to clipboard
abstract fun wcall_sft_resp(inst: Handle, error: Int, data: ByteArray, length: Int, ctx: <Error class: unknown class>?)
Link copied to clipboard
abstract fun wcall_start(inst: Handle, conversationId: String, callType: Int, convType: Int, audioCbr: Int): Int